import { NgModule, ModuleWithProviders } from '@angular/core';
import { CommonModule } from '@angular/common';
import { LoadingComponent } from './loading.component';
// import { LoadingAnimateService } from './loading.service';

export * from './loading.service';

@NgModule({
  declarations: [
    LoadingComponent
  ],
  imports: [CommonModule],
  exports: [LoadingComponent]
//   providers: [LoadingAnimateService]
})
export class LoadingAnimateModule {
  static forRoot(): ModuleWithProviders {
    return {
      ngModule: LoadingAnimateModule
    //   providers: [LoadingAnimateService]
    };
  }
}